home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / music / gus357_x.zip / ERRCODE.TXT < prev    next >
Text File  |  1994-12-13  |  10KB  |  177 lines

  1. RKE = 200h      ;Kernel related  (for example, 0204h means no more handles)
  2. RSE = 300h      ;Sys related
  3. R2E = 400h      ;Ruckus related
  4. RME = 500h      ;MIDI related
  5. RVE = 600h      ;Vox related
  6. RDE = 700h      ;Trak related
  7. RCD = 800h      ;CD-audio related
  8. RMX = 900h      ;Mixer related
  9. RPE =0A00h      ;Patch related
  10.  
  11. ;DOS-type errors generated/returned by Ruckus
  12. ERR_UNXEOF      EQU -3      ;unexpected end of file DOS (65533)
  13. ERR_DISKFULL    EQU -2      ;disk full DOS              (65534)
  14. ERR_NOMEMORY    EQU 8       ;cannot allocate required memory from DOS
  15.  
  16.  
  17. ;kernel errors
  18. ERR_NOHANDLES   EQU RKE+04  ;no handles left from ss$Malloc for MCB
  19. ERR_BADHANDLE   EQU RKE+06  ;handle not valid from ss$Free for MCB/xms$ too
  20. ERR_MEMCORRUPT  EQU RKE+07  ;memory corrupt from ss$Malloc for MCB
  21. ERR_NOMEMKRN    EQU RKE+08  ;no/not enough memory from ss$Malloc for MCB
  22. ERR_NOMATCH     EQU RKE+09  ;EnvVar not found
  23. ERR_XMSFAIL     EQU RKE+20  ;XMS general failure (check xms@lastErr,lastErrFunc)
  24. ERR_NOXMSMGR    EQU RKE+21  ;xms$Init called but no XMS manager installed
  25. ERR_XMS16MB     EQU RKE+22  ;XMS allocation crossed 16MB (no-go for ISA DMA)
  26. ERR_FILE64MB    EQU RKE+23  ;XMS file cache filesize >= 64MB
  27. ERR_XMSFC255    EQU RKE+24  ;XMS file cache has no XF slots available
  28. ERR_XMSHDL7FF   EQU RKE+25  ;XMS handle conflict (SuperCache)
  29. ERR_VDSFAIL     EQU RKE+30  ;VDS general failure
  30. ERR_VDSLOCKFAIL EQU RKE+31  ;VDS region lock failed
  31. ERR_TIMEROFF    EQU RKE+40  ;selected timer is not set up/not init'ed
  32. ERR_TIMERINUSE  EQU RKE+41  ;selected timer already in use
  33. ERR_TIMERUPSO   EQU RKE+42  ;selected timer cannot be used (not responding)
  34. ERR_STUBDEV     EQU RKE+98  ;device is stubbed out
  35. ERR_STUBCOMP    EQU RKE+99  ;component is stubbed out
  36.  
  37. ;sys errors
  38. ERR_NOMORESLOTS EQU RSE+01  ;no more tracker slots for permanent DOS store
  39.  
  40. ;device init/access errors
  41. ERR_ILLEGALCMD  EQU R2E+01  ;command code not valid
  42. ERR_NODEVICE    EQU R2E+02  ;device (in context) not detected/not valid device#
  43. ERR_DEVICEON    EQU R2E+03  ;device has already been installed
  44. ERR_DEVIRQ      EQU R2E+04  ;device fails IRQ test (NYI)
  45. ERR_DEVDMA      EQU R2E+05  ;device fails DMA test (NYI)
  46. ERR_DEVNOTIMER  EQU R2E+06  ;device has no on-board timer
  47. ERR_NOMEMDEV    EQU R2E+08  ;device has no RAM available
  48. ERR_NOTINGEAR   EQU R2E+11  ;device has not been installed
  49. ERR_DMATIMEOUT  EQU R2E+31  ;DMA transfer did not signal completion (see RPE)
  50. ERR_DMABADMODE  EQU R2E+32  ;DMA mode not valid for request
  51. ERR_DMABUSY     EQU R2E+33  ;DMA channel already in use
  52. ERR_DMAGRAM256  EQU R2E+39  ;GRAM 256K page crossing on DMA attempt [GUS]
  53. ERR_BADENVVAR   EQU R2E+91  ;requested EnvVar not found or incomplete
  54. ERR_BADPATH     EQU R2E+92  ;path+filename+ext > MAX_PATHSIZE or null
  55. ERR_MMSSCORRUPT EQU R2E+93  ;general memory manager is corrupt
  56. ERR_MMSSLOCKFAIL EQU R2E+94 ;general memory manager lock failed
  57. ERR_INVALIDTASK EQU R2E+99 ;internal error
  58.  
  59.  
  60. ;MIDI file errors
  61. ERR_FORMATMIDI  EQU RME+01  ;file is not of type 0 or type 1
  62. ERR_TRACKSMIDI  EQU RME+02  ;file contains too many tracks (more than 48)
  63. ERR_TIMINGMIDI  EQU RME+03  ;file division timing not metrical
  64. ERR_HEADERMIDI  EQU RME+04  ;file does not start with "MT"
  65. ERR_CHUNK64K    EQU RME+05  ;file has track >= 64K (convert to type-1 to fix)
  66. ERR_NOTAVAILMIDI EQU RME+10 ;function not currently available (AdjustTempo)
  67.  
  68. ;VOX errors
  69. ERR_BADIOBID    EQU RVE+01  ;IOB id is out of range (valid is 0-7)
  70. ERR_BADATTNPTR  EQU RVE+02  ;attention ptr not pointing to "aV" structure
  71. ERR_NOMEMIOB    EQU RVE+08  ;no memory for IO buffer
  72. ERR_NULLIOB     EQU RVE+09  ;IOB id is not primed
  73. ERR_IOBNOTAVAIL EQU RVE+10  ;IOB id is not available, or none are available
  74.  
  75.  
  76. ;patch/voice allocation errors          
  77. ERR_UNKPATHDR   EQU RPE+01  ;patch file header is not known
  78. ERR_UNKPATINS   EQU RPE+02  ;patch file contains more than 1 instrument [GUS]
  79. ERR_UNKPATLAYER EQU RPE+03  ;patch file contains more than 1 layer [GUS]
  80. ERR_OLDPATVER   EQU RPE+04  ;patch file format is obsolete
  81. ERR_BADMODE     EQU RPE+05  ;mode not supported for operation
  82. ERR_NOMEMDMA    EQU RPE+06  ;no memory for temporary DMA transfer buffer
  83. ERR_NOCACHE     EQU RPE+07  ;patch permanent store/cache not available (XMS)
  84. ERR_NOMEMPATCH  EQU RPE+08  ;cannot allocate required patch memory
  85. ERR_INVALIDBANK EQU RPE+09  ;patch bank invalid
  86. ERR_NOINI       EQU RPE+10  ;R2*.INI not found in current dir or in PATDIR=
  87. ERR_BADINI      EQU RPE+11  ;R2*.INI has invalid format
  88. ERR_BADBANKINI  EQU RPE+12  ;INI must at least contain [bank X] (X=default bank)
  89. ERR_BADDIRINI   EQU RPE+13  ;INI [bank must at least include [dir=DEFAULT]
  90. ERR_NOPATCHINI  EQU RPE+14  ;patch required not found in INI [bank]
  91. ERR_TOOMANYPCS  EQU RPE+15  ;more than 512 Program Change events
  92. WRN_PATCHFLAGGED EQU RPE+19  ;patchname starts with "*" in INI (WARNING only)
  93. ERR_NOPATCH     EQU RPE+20  ;no program change info in .MID and no default patch
  94. ERR_BADPATCHNO  EQU RPE+21  ;melo/drum patch out-of-range or not loaded
  95. ERR_NOPATCHMAP  EQU RPE+22  ;drum patch out-of-range (percCh ky# doesn't map)
  96. ERR_PATCHBOGUS  EQU RPE+23  ;patch contains out-of-bounds data  
  97. ERR_PATCHIS8    EQU RPE+24  ;patch is already in low-rez form
  98. ERR_BADLOOPADDR EQU RPE+25  ;loop points not valid
  99. ERR_PATCHINUSE  EQU RPE+26  ;patch number has already been allocated
  100. ERR_PATCHZERO   EQU RPE+27  ;patch number is not allocated/no patch data
  101. ;ERR_DMATIMEOUT EQU RPE+31  ;DMA transfer did not signal completion (see R2E)
  102. ERR_BADVOICE    EQU RPE+50  ;voice number not valid (user selected)
  103. ERR_VOICENA     EQU RPE+51  ;voice is not available (already in use)
  104. ERR_VOICEACTIVE EQU RPE+52  ;voice active (cannot unassign w/o force)
  105.  
  106.  
  107. Errors_DOS
  108.  
  109. -3 unexpected end of file (error codes < 0 are mine)
  110. -2 disk full
  111. -1 bad filename
  112.  0 no error
  113.  1 function not supported              19 disk write protected
  114.  2 file not found                      20 unknown unit
  115.  3 path not found                      21 drive not ready
  116.  4 too many open files                 22 unknown command
  117.  5 access denied (see Specs_Networks)  23 data error (CRC)
  118.  6 handle invalid                      24 bad request structure length
  119.  7 MCBs destroyed                      25 seek error
  120.  8 not enough memory                   26 unknown medium type
  121.  9 memory block address invalid        27 sector not found
  122. 10 environment invalid                 28 printer out of paper
  123. 11 format invalid                      29 write fault
  124. 12 access code invalid                 30 read fault
  125. 13 data invalid                        31 general failure
  126.    reserved-0Eh                        32 sharing violation
  127. 15 disk drive invalid                  33 lock violation
  128. 16 cannot remove current directory     34 disk change invalid/wrong disk
  129. 17 not same device                     35 FCB unavailable
  130. 18 no more files                       36 sharing buffer overflow
  131.  
  132.  
  133. 37 code page mismatched                58 incorrect response from net
  134. 38 handle EOF                          59 unexpected network error
  135. 39 handle disk full                    60 incompatible remote adapter
  136.    reserved-28h                        61 print queue full
  137.    reserved-29h                        62 no spool space
  138.    reserved-2Ah                        63 not enough space to print file
  139.    reserved-2Bh                        64 network name deleted
  140.    reserved-2Ch                        65 network access denied
  141.    reserved-2Dh                        66 network device type incorrect
  142.    reserved-2Eh                        67 network name not found
  143.    reserved-2Fh                        68 network name limit exceeded
  144.    reserved-30h                        69 NETBIOS session limit exceeded
  145.    reserved-31h                        70 sharing temporarily paused
  146. 50 network request not supported       71 network request not accepted
  147. 51 remote computer not listening       72 print/disk redirection paused
  148. 52 duplicate name on network              reserved-49h
  149. 53 network pathname not found             reserved-4Ah
  150. 54 network busy                           reserved-4Bh
  151. 55 network device no longer exists        reserved-4Ch
  152. 56 NETBIOS command limit exceeded         reserved-4Dh
  153. 57 network adapter hardware error         reserved-4Eh
  154.  
  155.    reserved-4Fh                  ────────────── DOS Class Codes
  156. 80 file exists
  157. 81 duplicate FCB                 1 out of resources      7 app error
  158. 82 cannot make                   2 temporary situation   8 not found
  159. 83 fail on INT24                 3 authorization         9 bad format
  160. 84 out of structures             4 internal error       10 locked
  161. 85 already assigned              5 hardware failure     11 media failed
  162. 86 invalid password              6 system failure       12 already exist
  163. 87 invalid parameter                                    13 unknown
  164. 88 network write fault
  165.    reserved-59h                    DOS Action Codes      DOS Locus Codes
  166. 90 sys comp not loaded
  167.                                  1 retry immediately     1 unknown
  168.                                  2 delay and retry       2 block device
  169.                                  3 reenter input         3 network
  170.                                  4 abort ASAP            4 serial device
  171.                                  5 abort immediately     5 memory
  172.                                  6 ignore error
  173.                                  7 user intervention
  174.  
  175. ;<EOF>
  176.          
  177.